package com.min.nio.impl;

import com.min.nio.api.HelloWorld;
import com.min.nio.module.Student;

import java.text.MessageFormat;

/**
 * create by sirmin on 2018/3/21
 */
public class HelloWorldImpl implements HelloWorld {
    @Override
    public String sayHello(Student student) {
        System.out.println(student);
        return MessageFormat.format("你好啊!${0}",student.getName());
    }
}
